package com.javaoopfive;

public class Penguin extends Pet {

    private int sex;


    @Override
    public void cd() {

        System.out.println("吃鱼干....");
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

}
